package com.gxa.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Component(value = "Department")
public class Department {
    private Integer id;

    private String name;

    private  String higher;

    private Integer hospitalId;

    private Integer doctorId;

    private Date created;

    private String phone;

}